#pragma once

#include "sys/IInterface.h"

interface IControlBars;interface IMenuBar;interface IToolBar;interface IPanes;interface IForm;class SystemEventArgs;

interface IMainFrame : public IInterface
{
	DEFINE_IID(IID_MainFrame)

	virtual IControlBars* GetControlBars() const = 0;
	virtual IMenuBar* GetMenuBar() const = 0;
	virtual IToolBar* GetToolbox() const = 0;
	virtual IPanes* GetPanes() const = 0;
	virtual IForm* CreateForm(uint32 category) = 0;

	virtual bool RouteCommandMessenge(SystemEventArgs* e) = 0;
};

